module.exports = function () {
  var faker = require("faker");
  faker.locale = "zh_CN";
  var _ = require("lodash");
  return {
    menuItem: {
      success: true,
      data: [{
          name: '业务管理',
          path: 'menu_yw',
          icon: 'el-icon-message',
          children: [{
            name: '充值列表',
            path: 'menu_yw_cz',
            isCollect: false
          }, {
            name: '交易列表',
            path: 'menu_yw_jy',
            isCollect: false
          }, {
            name: '课程列表',
            path: 'menu_yw_kc',
            isCollect: false
          }, {
            name: '学员下单列表',
            path: 'menu_yw_xyxd',
            isCollect: false
          }, {
            name: '兑换列表',
            path: 'menu_yw_dh',
            isCollect: false
          }, {
            name: '退款列表',
            path: 'menu_yw_tk',
            isCollect: false
          }, {
            name: '佣金结算列表',
            path: 'menu_yw_yjjs',
            isCollect: false
          }, {
            name: '讲师下单列表',
            path: 'menu_yw_jsxd',
            isCollect: false
          }]
        }, {
          name: '用户管理',
          path: 'menu_yh',
          icon: 'el-icon-document',
          children: [{
            name: '用户管理',
            path: 'menu_yh_yh',
            isCollect: false
          }, {
            name: '讲师管理',
            path: 'menu_yh_js',
            isCollect: false
          }, {
            name: '讲师申请管理',
            path: 'menu_yh_jssq',
            isCollect: false
          }, {
            name: '黑名单管理',
            path: 'menu_yh_hmd',
            isCollect: false
          }, {
            name: 'MT4白名单',
            path: 'menu_yh_mt4',
            isCollect: false
          }, {
            name: 'MASTER帐号管理',
            path: 'menu_yh_master',
            isCollect: false
          }, {
            name: '讲师信息修改',
            path: 'menu_yh_jsxxxg',
            isCollect: false
          }, {
            name: '巡视员管理',
            path: 'menu_yh_xsy',
            isCollect: false
          }]
        },
        {
          name: '运营管理',
          path: 'menu_operate',
          icon: 'el-icon-tickets',
          children: [{
            name: '发放珍珠',
            path: 'menu_operate_send_pearl',
            isCollect: false
          }, {
            name: '扣除珍珠',
            path: 'menu_operate_deduction_pearl',
            isCollect: false
          }, {
            name: '分享记录',
            path: 'menu_operate_share_record',
            isCollect: false
          }, {
            name: '消息发送',
            path: 'menu_operate_send_message',
            isCollect: false
          }, {
            name: '短信发送',
            path: 'menu_operate_send_sms',
            isCollect: false
          }, {
            name: '短信发送日志',
            path: 'menu_operate_sms_log',
            isCollect: false
          }]
        },
        {
          name: '内容管理',
          path: 'menu_content',
          icon: 'el-icon-goods',
          children: [{
            name: '系统公告',
            path: 'menu_content_notice',
            isCollect: false
          }, {
            name: '帮助中心',
            path: 'menu_content_help',
            isCollect: false
          }]
        },
        {
          name: '数据系统',
          path: 'menu_sjxt',
          icon: 'el-icon-mobile-phone',
          children: [{
              name: '系统核心数据',
              path: 'menu_sjxt_system',
              isCollect: false
            },
            {
              name: '用户分布',
              path: 'menu_sjxt_user_distribution',
              isCollect: false
            },
            {
              name: '用户增长',
              path: 'menu_sjxt_user_add',
              isCollect: false
            }, {
              name: '课程分析',
              path: 'menu_sjxt_lesson_anslysis',
              isCollect: false
            }, {
              name: '讲师分析',
              path: 'menu_sjxt_teacher_anslysis',
              isCollect: false
            }
          ]
        },
        {
          name: '组织结构管理',
          path: 'menu_zzjg',
          icon: 'el-icon-printer',
          children: [{
              name: '菜单管理',
              path: 'menu_zzjg_menu',
              isCollect: false
            },
            {
              name: '角色管理',
              path: 'menu_zzjg_roles',
              isCollect: false
            },
            {
              name: '部门管理',
              path: 'menu_zzjg_depart',
              isCollect: false
            }, {
              name: '用户管理',
              path: 'menu_zzjg_users',
              isCollect: false
            }
          ]
        },
        {
          name: '系统管理',
          path: 'menu_system',
          icon: 'el-icon-setting',
          children: [{
              name: '基础设置',
              path: 'menu_system_base',
              isCollect: false
            },
            {
              name: '版本管理',
              path: 'menu_system_version',
              isCollect: false
            },
            {
              name: '专业管理',
              path: 'menu_system_postion',
              isCollect: false
            }, {
              name: '经纪商管理',
              path: 'menu_system_angent',
              isCollect: false
            }
          ]
        } ]
    },
    queryDataList: {
      success: true,
      name: '充值列表',
      data: _.times(50, function (n) {
        return {
          "account_bo": faker.phone.phoneNumberFormat(),
          "id": "db30b00eaf4245feb9919e8308324a3b",
          "money": 1000,
          "order_num": "WX942017103016083850918063100688",
          "order_status": "1",
          "order_time": faker.date.recent(),
          "pay_method": "2",
          "pay_num": "4200000030201710301283340315",
          "pearl_count": 10,
          "source": "2",
          "success_time": faker.date.recent(),
          "unpearl_count": 0,
          "userNickName_bo": faker.name.findName(),
          "userNum_bo": "18447",
          "userid": "dcd487dfa8d74e2088064e09859dc453"
        }
      }),
      page: 1,
      pageSize: 15,
      total: 20
    },
    queryData: {
      name: '交易列表',
      success: true,
      data: _.times(20, function (n) {
        return {
            "account_bo": "18096753089",
            "course_id": "818ebe515b8e45599fc5b97d9c0d4678",
            "course_num_bo": "14293",
            "id": "TS942017121111484364123182101152",
            "memo": "818ebe515b8e45599fc5b97d9c0d4678",
            "nickname_bo": "范东雷",
            "order_pearl": 0,
            "order_time": "2017-12-11 11:48:43",
            "pearl": 0,
            "refund_status": "0",
            "source": "1",
            "type": "1",
            "unpearl": 0,
            "user_num_bo": "20221",
            "userid": "4cf6f9488c574b71aced1b4d81e7503f"
        }
      }),
      page: 1,
      pageSize: 15,
      total: 200
    },
    queryTradeListList:{page: 1,
      success: true,
      pageSize: 15,
      total: 200,
      totalCount: 199348,
      data: _.times(20, function (n) {
        return {
          "account_bo": "13535333943",
          "course_id": "236de2614ee249299e453159320d5c91",
          "course_num_bo": "14424",
          "id": "TS942017121317364357803681102259",
          "memo": "236de2614ee249299e453159320d5c91",
          "nickname_bo": "四夕",
          "order_pearl": 5,
          "order_time": "2017-12-13 17:36:43",
          "pearl": 0,
          "refund_status": "0",
          "source": "1",
          "type": "1",
          "unpearl": 5,
          "user_num_bo": "16026",
          "userid": "b1b7d95c8d2643d393984ffef8e0887e"
        }
      }),
    },
    baseset_queryList: {
      name: '基础设置',
      success: true,
      data: _.times(20, function (n) {
        return {
          "enumValue": "",
          "tab_code": "10001",
          "tab_desc": "精品课佣金比例",
          "tab_enum_value": "",
          "tab_id": "85c0806a2cad45aca70533d1d9fb10a9",
          "tab_name": "精品课佣金比例",
          "tab_type": "string",
          "tab_value": "67%",
          "value": "67%"
        }
      }),
      page: 1,
      pageSize: 15,
      total: 20
    },
    queryAgentList: {
      name: '经纪商管理',
      success: true,
      data: _.times(20, function (n) {
        return {
          "agent_bg_card": "https://api.haibeiclub.com:3302/down/2017/11/28/daa81120b301a76c7556282427587d02.png",
          "agent_bg_color": "#32639E",
          "agent_bg_logo": "https://api.haibeiclub.com:3302/down/2017/11/28/c4edad80ab924b07da90091a30a67e80.png",
          "agent_desc": "睿汇拥有强大的MT4交易系统，为用户提供简易丰富的短线交易。同时不断创新技术，增强用户交易体验，保障资金安全。",
          "agent_logo": "https://api.haibeiclub.com:3302/down/2017/11/28/51ac658f114fd85f301f5ce3f9a59093.png",
          "agent_name": "睿汇",
          "agent_num": "AG001",
          "agent_reg_site": "https://my.rcmfx.com/auth/register",
          "id": "e2dd78c5824d4b64b3f95d5413675e43",
          "sort_num": 0,
          "status": "1"
        }
      }),
      page: 1,
      pageSize: 15,
      total: 20
    },
    major_queryList: {
      name: '经纪商管理',
      success: true,
      data: _.times(20, function (n) {
        return {
          "agent_num": "AG001",
          "code": "10073",
          "count_down": 300,
          "currencyName_bo": "美元($)",
          "currency_dentifier": "$",
          "currency_name": "美元",
          "icon": "https://api.haibeiclub.com:3302/down/2017/11/28/ec3fa0447fb04a75a06f58f1ead6e41f.png",
          "id": "11a6611551b84965bb598ad1e9c3fca0",
          "name": "睿汇短线交易",
          "sortnum": 100,
          "status": "0"
        }
      }),
      page: 1,
      pageSize: 15,
      total: 20
    }
  }
}
